package com.operate.api.app.balance.domain.po;

import com.operate.api.base.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
@Data
@Table(name = "app_balance_log")
public class AppBalancePO extends BaseEntity {

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 关联订单ID
     */
    @Column(name = "order_id")
    private String orderId;

    /**
     * 订单描述
     */
    @Column(name = "order_desc")
    private String orderDesc;

    /**
     * 订单类型 1 充值 2 消费
     */
    @Column(name = "order_type")
    private Integer orderType;

    /**
     * 订单X豆数量
     */
    @Column(name = "order_num")
    private BigDecimal orderNum;


}